From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 17:38:09 +0000 (+0200) Subject: Remove some compat code from url-handlers.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~5863 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b02bd6d0bb752d518ade9c1e78d02a7f5ed942bd;p=emacs.git Remove some compat code from url-handlers.el * lisp/url/url-handlers.el (url-insert-buffer-contents): Remove check for function that's always defined in Emacs. --- diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 331152808fd..1c3607bb661 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -339,8 +339,7 @@ if it had been inserted from a file named URL." (decode-coding-inserted-region (point-min) (point) url visit beg end replace)) (let ((inserted (car size-and-charset))) - (list url (or (and (fboundp 'after-insert-file-set-coding) - (after-insert-file-set-coding inserted visit)) + (list url (or (after-insert-file-set-coding inserted visit) inserted)))))) ;;;###autoload